FROM java:8-jdk-alpine

LABEL maintainer="tom <tantao700@gmail.com>"

ENV TZ 'Asia/Shanghai'

VOLUME /tmp

ARG JAR_FILE
ADD ${JAR_FILE} app.jar

EXPOSE 8080 443
ENV JAVA_OPTS=""
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dfile.encoding=utf-8","-Duser.timezone=GMT+09:00","-jar","/app.jar","--dubbo.register.address=zookeeper://zk1:2181"]